<%@ page language="java"
         contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"
         import="com.shxt.hotel.background.*"
         import="java.util.Map"
         import="java.util.List"
%>
<%
    request.setCharacterEncoding("UTF-8");
    Map<String, String[]> paraMap = request.getParameterMap();
    
    Room roomManager = new Room();
    int row = roomManager.renewalRoom(Integer.parseInt(paraMap.get("id")[0]), Integer.parseInt(paraMap.get("renewal")[0]));
    
    roomManager.close();
    response.sendRedirect("../sub_overview.jsp");
%>